//package org.assertj.ohos.api.app;
//
//import ohos.annotation.TargetApi;
//import ohos.app.TaskStackBuilder;
//import ohos.content.Intent;
//import org.assertj.core.api.AbstractAssert;
//
//import static ohos.os.Build.VERSION_CODES.JELLY_BEAN;
//import static org.assertj.core.api.Assertions.assertThat;
//
///** Assertions for {@link TaskStackBuilder} instances. */
//@TargetApi(JELLY_BEAN)
//public class TaskStackBuilderAssert extends AbstractAssert<TaskStackBuilderAssert, TaskStackBuilder> {
//  public TaskStackBuilderAssert(TaskStackBuilder actual) {
//    super(actual, TaskStackBuilderAssert.class);
//  }
//
//  public TaskStackBuilderAssert hasIntentCount(int count) {
//    isNotNull();
//    int actualCount = actual.getIntentCount();
//    assertThat(actualCount) //
//        .overridingErrorMessage("Expected intent count <%s> but was <%s>.", count, actualCount) //
//        .isEqualTo(count);
//    return this;
//  }
//
//  public TaskStackBuilderAssert containsIntents(Intent... intents) {
//    isNotNull();
//    assertThat(actual.getIntents()).contains(intents);
//    return this;
//  }
//}
